package com.vhall.component.entity.interactive.vo;

import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;


/**
 * @Author: xin.qin
 * @Date: 2022/06/27 19:55
 */
@Data
public class UploadChunkReqVO implements Serializable {

    @NotNull(message = "file不能为空")
    private MultipartFile file;

    @NotEmpty(message = "fileMd5不能为空")
    private String fileMd5;

    @NotNull(message = "chunk不能为空")
    private Integer chunk;

}
